package com.acme.bankapp.domain.bank;

import java.io.Serializable;

import com.acme.bankapp.exceptions.NotEnoughFundsException;

public interface Account extends Serializable {
	void deposit(double x) throws IllegalArgumentException;
	void withDraw(double x) throws IllegalArgumentException, NotEnoughFundsException;
	double getBalance();
	double maximumAmountToWithdraw();
	long decimalValue();
}
